package com.pwrd.game.service.impl;

import com.pwrd.sframe.dao.impl.DaoImpl;
import com.pwrd.sframe.spring.annotation.ManagerInject;
import com.pwrd.sframe.spring.manager.Manager;

/**
 * @Auther syc.
 * @Date 2016/10/26 14:30.
 */
public class PayService extends Manager {

    @ManagerInject
    UserService userService;

    @Override
    public <T> void add(T obj) {
        userService.setDao(new DaoImpl());
        userService.add(new String("obj from PayService :" + obj.toString()));
    }
}
